package com.htthorizon.model.request;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

/**
 * 数据源参数信息
 * @author mark
 */
public class ModelSourceParamReq {

    /** $column.columnComment */
    private Long id;

    /** 数据源ID */
    @ApiModelProperty(name = "数据源ID")
    private Long sourceId;

    /** 请求位置:1请求头2请求体3认证配置 */
    @ApiModelProperty(name = "参数位置")
    private Integer paramLocation;

    /** 参数名称 */
    @ApiModelProperty(name = "参数名称")
    @NotNull(message = "参数名称不能为空")
    private String paramName;

    /** 参数值 */
    @ApiModelProperty(name = "参数值")
    private String paramVal;

    /** 状态0正常-1已删除 */
    @ApiModelProperty(name = "状态0正常-1已删除")
    private Integer status;

    /** 排序 */
    @ApiModelProperty(name = "排序")
    private Integer sort;

    /** 描述 */
    @ApiModelProperty(name = "描述")
    private String remark;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getSourceId() {
        return sourceId;
    }

    public void setSourceId(Long sourceId) {
        this.sourceId = sourceId;
    }

    public Integer getParamLocation() {
        return paramLocation;
    }

    public void setParamLocation(Integer paramLocation) {
        this.paramLocation = paramLocation;
    }

    public String getParamName() {
        return paramName;
    }

    public void setParamName(String paramName) {
        this.paramName = paramName;
    }

    public String getParamVal() {
        return paramVal;
    }

    public void setParamVal(String paramVal) {
        this.paramVal = paramVal;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
